import {
  httpRequest
} from './index'

export const DoLogin = (params) => httpRequest('admin/login', params)
export const DoLoginOut = (params) => httpRequest('admin/logout', params)
export const GetAuthCode = (params) => httpRequest('admin/getAuthCode', params)
export const RefreshToken = (params) => httpRequest('admin/token/refresh', params)
export const EditLoginPwd = (params) => httpRequest('admin/updatePassword', params)
export const GetLoginUserInfo = (params) => httpRequest('admin/info', params, 'GET')
